Time
The Time data source is always available and can be bound to text fields regardless if you are using any other data source or not.
There are 4 presets available, Current Time, Current Date, Current Day and Current Week. You can pick any of these and use it as is or change the format string to customize it to your liking.
Time data source binding options
Setting | Description | Example |
---|---|---|
Date format | Input a "DateTime format string" to control how the date/time is presented | YYYY-MM-DD |
Time zone | Select which time zone to use for the displayed date/time | Europe/Kiev |
Language | Select which language to use for the date/time | English |
DateTime format strings
A DateTime format string represents how the actual date should be displayed and has special predefined values for each part of a date. For instance YYYY-MM-DD W HH:mm:ss will display the date and time as follows: "2021-01-14 2 20:20:20". For a full list of supported format tokens, please see the moment.js documentation: https://momentjs.com/docs/#/displaying/format/.
Examples:
DateTime format string | Result |
---|---|
YYYY-MM-DD W HH:mm:ss | 2021-01-14 2 20:20:20 |
dddd, MMMM Do YYYY, h:mm:ss a | Thursday, January 14th 2021, 8:20:20 pm |